import request from '@/utils/request';
// 帮助指南
export const helpListApi = (params: object) =>
  request.post('dev-api/api/Help/list', params);

// 工单列表
export const getWorkListApi = (params: object) =>
  request.post('dev-api/api/WorkOrder/list', params);
// 获取首页所有选项卡
export const getHomeTabsApi = () => request.post('dev-api/api/index/tabList');

// 获取首页用户数据
export const getUserEchartsApi = (params: object) =>
  request.post('dev-api/api/index/index', params);

// 获取首页访问量数据
export const getVolumeEchartsApi = (params: object) =>
  request.post('dev-api/api/index/indexv', params);

// 首页快捷菜单
export const getFastMenuApi = (params: object) =>
  request.post('dev-api/api/index/fastPath', params);
